﻿using Microsoft.AspNetCore.Http;

namespace WT.OpenIddict.Domain.Services.Exceptions;

public class ForbiddenException : UnifiedException
{
    public ForbiddenException(
        string message = "无权访问",
        string errorCode = "forbidden",
        Dictionary<string, object> extensions = null)
        : base(message, StatusCodes.Status403Forbidden, errorCode, extensions)
    {
    }
}